import { Link } from 'umi';
import {Menu} from 'antd';

export default function BasicLayout({ children }) {
  return (
    
    <div>
      
     <Menu  mode="horizontal">
        <Menu.Item key="Index" >
        <Link to="/IndexPage"> index</Link>
        </Menu.Item>
      
        <Menu.Item key="employee">
        <Link to="/employee"> employee</Link>
        </Menu.Item>

        <Menu.Item key="list">
        <Link to="/list"> list</Link>
        </Menu.Item>

    
        </Menu>
      {children}
    </div>
  );
}
